package com.youzan.ebiz.mall.rigel.dal.dao.test;

import com.youzan.ebiz.mall.rigel.dal.dao.test.ActivityItemDO;
import com.youzan.ebiz.mall.rigel.dal.dao.test.ActivityItemDOCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ActivityItemDOMapper {
    long countByExample(ActivityItemDOCriteria example);

    int deleteByExample(ActivityItemDOCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(ActivityItemDO record);

    int insertSelective(ActivityItemDO record);

    List<ActivityItemDO> selectByExampleWithRowbounds(ActivityItemDOCriteria example, RowBounds rowBounds);

    List<ActivityItemDO> selectByExample(ActivityItemDOCriteria example);

    ActivityItemDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ActivityItemDO record, @Param("example") ActivityItemDOCriteria example);

    int updateByExample(@Param("record") ActivityItemDO record, @Param("example") ActivityItemDOCriteria example);

    int updateByPrimaryKeySelective(ActivityItemDO record);

    int updateByPrimaryKey(ActivityItemDO record);
}